package com.ruicar.afs.cloud.workflow.greatwall.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruicar.afs.cloud.common.core.query.QueryCondition;
import com.ruicar.afs.cloud.workflow.greatwall.entity.AfsGreatWallFlowParams;
import com.ruicar.afs.cloud.workflow.greatwall.mapper.AfsGreatWallFlowParamsMapper;
import com.ruicar.afs.cloud.workflow.greatwall.service.AfsGreatWallFlowParamsService;
import com.ruicar.afs.cloud.workflow.greatwall.vo.FlowParamVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class AfsGreatWallFlowParamsServiceImpl extends ServiceImpl<AfsGreatWallFlowParamsMapper, AfsGreatWallFlowParams> implements AfsGreatWallFlowParamsService {
    @Override
    public Page<FlowParamVo> listFLowMapping(QueryCondition<FlowParamVo> condition) {
        return this.baseMapper.listFLowMapping(condition.page(), condition.getCondition());
    }
}
